package com.itheima.homework.assignment.Test02;

/**
 * 定一个子类NewPhone,继承OldPhone类,
 * 在子类中重写来电显示的方法,输出内容为"显示手机号","显示归属地","显示头像"
 */
public class NewPhone extends OldPhone{
    @Override
    public void showNumber() {
        super.showNumber();
        System.out.println("显示归属地");
        System.out.println("显示头像");
    }
}
